home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
EVISION1.ARJ
/
SCREEN.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-19
|
2KB
|
50 lines
#if !defined (SCREEN) // To prevent multiple declarations
#define SCREEN
// ---- Library Header Files ------------------------------------------------
#include <conio.h>
#include <stdio.h>
// ---- Typedefs ------------------------------------------------------------
struct cur_info
{
unsigned char attribute ; // Text attribute
unsigned char curx ; // X coordinate in current window
unsigned char cury ; // Y coordinate in current window
unsigned int curtype ; // Cursor shape
} ;
// ---- Prototypes ----------------------------------------------------------
void far savevideo // Save all video informations except cursor
( text_info huge *ti, // Ptr to a text_info struct
char huge*huge *savedscr=NULL // Ptr to a huge char ptr
) ;
void far restorevideo // Restore all video informations except cursor
( text_info huge *ti, // Ptr to a text_info struct
char huge*huge *savedscr=NULL // Ptr to a huge char ptr
) ;
void far savecursor // Save all cursor attributes
( cur_info huge *ci ) ; // Ptr to a cur_info struct
void far restorecursor // Restore all cursor attributes
( cur_info huge *ci ) ; // Ptr to a cur_info struct
// ---- End Header File -----------------------------------------------------
#endif